<template>
  <div class="right-container">
    <h3>Right 组件</h3>
    <hr />

    <p>count 值: {{ count }}</p>
    <button class="btn btn-warning" @click="MusicEve(1)">-1</button>
  </div>
</template>

<script>
import { mapState, mapMutations } from 'vuex'
export default {
  name: 'Right',
  data() {
    return {}
  },
  computed: {
    ...mapState('Day6VuexOptions', ['count'])
  },
  methods: {
    ...mapMutations('Day6VuexOptions', ['MusicEve'])
  }
}
</script>

<style></style>
